<?
/*luhao's function*/
function createtable($data,$border=1,$bgcolor="red"){
	echo "<table border=\"".$border."\" bgcolor=\"".$bgcolor."\">";
	reset($data);
	foreach($data as $v){
		echo "<tr><td>".$v."</td></tr>";
		}
	echo "</table>";
	}
global $b;	
$b="1";
?>